package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetTwoCollectRelationRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetTwoCollectRelationPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetTwoCollectRelationDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetTwoCollectRelationDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetTwoCollectRelationDomainImpl extends BaseDomainImpl<BudgetTwoCollectRelationDto, BudgetTwoCollectRelationPo> implements BudgetTwoCollectRelationDomain {

    @Resource
    private BudgetTwoCollectRelationRepository budgetTwoCollectRelationRepository;

    @Override
    public BaseRepository<BudgetTwoCollectRelationPo> getMapper() {
        return budgetTwoCollectRelationRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetTwoCollectRelationPo>> getRepositoryClass() {
        return BudgetTwoCollectRelationRepository.class;
    }

}
